package com.community.system.service;

import java.util.List;
import com.community.system.domain.PatrolCategory;

/**
 * categoryService接口
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public interface IPatrolCategoryService 
{
    /**
     * 查询category
     * 
     * @param categoryId category主键
     * @return category
     */
    public PatrolCategory selectPatrolCategoryByCategoryId(Long categoryId);

    /**
     * 查询category列表
     * 
     * @param patrolCategory category
     * @return category集合
     */
    public List<PatrolCategory> selectPatrolCategoryList(PatrolCategory patrolCategory);

    /**
     * 新增category
     * 
     * @param patrolCategory category
     * @return 结果
     */
    public int insertPatrolCategory(PatrolCategory patrolCategory);

    /**
     * 修改category
     * 
     * @param patrolCategory category
     * @return 结果
     */
    public int updatePatrolCategory(PatrolCategory patrolCategory);

    /**
     * 批量删除category
     * 
     * @param categoryIds 需要删除的category主键集合
     * @return 结果
     */
    public int deletePatrolCategoryByCategoryIds(Long[] categoryIds);

    /**
     * 删除category信息
     * 
     * @param categoryId category主键
     * @return 结果
     */
    public int deletePatrolCategoryByCategoryId(Long categoryId);
}
